用T4 Template生成代碼 1 T4語法 T4的語法與ASP.NET的方式比較類似。主要包括指令、文本塊、控制塊。 1.1 指令 指令主要包括template, output, assembly, import, ...